package com.xff.service;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class MutilService {

    @Autowired
    LoginService loginService;

    @Transactional
    public void mutilupdate(){
        try {
            loginService.update();
        }catch (Exception e){
            e.printStackTrace();
        }

        System.out.println("---------------");
        loginService.update2();
    }
}
